
		<ol class="breadcrumb">
		  <li><a href="/users/index"><i class="fa fa-home"></i>&nbsp;&nbsp;{{__('Personal Center')}}</a></li>
		  <li class="active">{{ __('Edit Profile')}}</li>
		</ol>           
       <hr>
    <?php
    	echo $this->Session->flash();
    	echo $this->Form->create('User',array(
	    'class'=>'form-horizontal', 
	    'inputDefaults' => array(
			'div' => array(
			'class' => 'form-group'
			),
			'label' => array(
			'class' => 'col-xs-3 control-label'
			),
			'between' => '<div class="col-xs-9">',
			//'seperator' => '</div>',
			'after' => '</div>',
			'class' => 'form-control',
		),
		'role' => 'form',));
    ?>
        <fieldset>
        	<div class="form-group"><label for="UserUsername" class="col-xs-3 control-label">用户编号</label><div class="col-xs-8" style="line-height: 40px;">{{$current_user_id}}</div></div>
         <?php 
        	echo $this->Form->hidden('id');
			echo $this->Form->input('username');
			/*if(($this->data['User']['email'])) {
            	echo $this->Form->input('email',array('readonly'=>'readonly'));
			}
			else{
				echo $this->Form->input('email',array('type'=>'email'));
			}*/
            echo $this->Form->input('sex',array('div'=>array('class' => 'form-group form-inline'),'options'=>array(0=>'未知',1=>'男',2=>'女')));
            echo $this->Form->input('idcard');

			echo $this->Form->input('website');

echo $this->Form->input('wechat');
echo $this->Form->input('qq');
echo $this->Form->input('province');
echo $this->Form->input('city');
echo $this->Form->input('location');
echo $this->Form->input('description',array('rows'=>3));

        ?>
        </fieldset>
    {{$this->Form->submit(__('Submit'),array(
    		'class' => 'btn btn-primary',
			'div' => 'form-group',
			'before' => '<div class="col-xs-offset-3 col-xs-9">',
			'after' => '</div>',
    ))}}
    {{$this->Form->end()}}